package org.sean.fugao.data.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CardChargeHistory implements Serializable{

	private Integer historyId; // INT(11) NOT NULL AUTO_INCREMENT ,
	private String cardNumber; // VARCHAR(45) NOT NULL ,
	private Employee operateEmployee; //
	private Date chargeDate; // DATETIME NOT NULL ,
	private BigDecimal chargeAmount = BigDecimal.ZERO;
	
	//collection attribute
	private List<CardConsumeCategory> cardConsumeCategories = new ArrayList<CardConsumeCategory>();

	public Integer getHistoryId() {
		return historyId;
	}

	public void setHistoryId(Integer historyId) {
		this.historyId = historyId;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public Employee getOperateEmployee() {
		return operateEmployee;
	}

	public void setOperateEmployee(Employee operateEmployee) {
		this.operateEmployee = operateEmployee;
	}

	public Date getChargeDate() {
		return chargeDate;
	}

	public void setChargeDate(Date chargeDate) {
		this.chargeDate = chargeDate;
	}

	public BigDecimal getChargeAmount() {
		return chargeAmount;
	}

	public void setChargeAmount(BigDecimal chargeAmount) {
		this.chargeAmount = chargeAmount;
	}

	public List<CardConsumeCategory> getCardConsumeCategories() {
		return cardConsumeCategories;
	}

	public void setCardConsumeCategories(
			List<CardConsumeCategory> cardConsumeCategories) {
		this.cardConsumeCategories = cardConsumeCategories;
	}

	
}
